package com.lx.base.exception;

import lombok.AllArgsConstructor;


@AllArgsConstructor
public enum BizExceptionCode implements CodeMessage {
    ParamException("10", "{0}");
    private final String errorCode;
    private final String errorMsg;

    /**
     * @return the errorCode
     */
    @Override
    public String getCode() {
        return errorCode;
    }

    /**
     * @return the errorMsg
     */
    @Override
    public String getMsg() {
        return errorMsg;
    }
}
